package com.simple.datax.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.simple.base.dao.BaseDAO;
import com.simple.datax.dao.IDataxSelfNodePropDAO;
import com.simple.datax.vo.DataxSelfNodePropVO;

@Repository("dataxSelfNodePropDAO")
public class DataxSelfNodePropDAOImpl extends BaseDAO implements
		IDataxSelfNodePropDAO {

	@Override
	public DataxSelfNodePropVO findById(String fcNode) {
		return (DataxSelfNodePropVO)super.get(DataxSelfNodePropVO.class, fcNode);
	}

	@Override
	public void saveOrUpdate(DataxSelfNodePropVO dataxSelfNodePropVO) {
		super.saveOrUpdate(dataxSelfNodePropVO);
	}

	@Override
	public List<DataxSelfNodePropVO> findAll() {
		return super.query(DataxSelfNodePropVO.class);
	}

	@Override
	public void delete(DataxSelfNodePropVO dataxSelfNodePropVO) {
		super.delete(dataxSelfNodePropVO);
	}

}
